# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-2048
pkgver=0_git20200325
pkgrel=0
_commit="74d10e41b86111d42309103d3bd7e8910263b1d1"
arch="all"
url="https://github.com/libretro/libretro-2048"
pkgdesc="port of 2048 puzzle game to the libretro API"
license="Unlicense"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-2048/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-2048-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 2048_libretro.so "$pkgdir"/usr/lib/libretro/2048_libretro.so
}

sha512sums="1be61386b871e16c4f589f5e9f1085b23de9bbef873b09d6177975df9f4d258d5b1c7f8776b3d9c931ae3904807881b9b2c4924fc7198907f2c54f7f3f2c4e49  libretro-2048-74d10e41b86111d42309103d3bd7e8910263b1d1.tar.gz"
